package edu.xalead;

import lombok.Setter;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("set")
public class UserService {
    @Resource//破坏封装 注入
    private UserDao userDao = null;

    public User findUser(){
        return userDao.findUser();
    }
}
